package org.jc.oss.service.impl;

import org.jc.oss.entity.FileInfo;
import org.jc.oss.service.StorageService;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.List;

/**
 * 功能描述
 *
 * @author wanghongqian
 * @date 2024/07/04 16:05
 */
@Service
public class AliyunStorageServiceImpl implements StorageService {
    @Override
    public void createBucket(String bucket) throws Exception {

    }

    @Override
    public void uploadFile(MultipartFile multipartFile, String bucket, String objectName) throws Exception {

    }

    @Override
    public List<String> getAllBucket() throws Exception {
        return null;
    }

    @Override
    public List<FileInfo> getAllFile(String bucket) throws Exception {
        return null;
    }

    @Override
    public InputStream download(String bucket, String objectName) throws Exception {
        return null;
    }

    @Override
    public void deleteBucket(String bucket) throws Exception {

    }
}
